import request from '@/utils/request.js'
export function getWorkers(data){
    return request.post("company-serv/worker/list",data);
}
export function getWorkerByCondition(data){
    return request.post("company-serv/worker/condition",data);
}
export function  softdelete(data){
    return request.post("company-serv/worker/delWorker/"+data);
}
export function addWokers(data){
    return request.post("company-serv/worker/addWoker",data);
}
export function selectRoles(data){
    return request.post("company-serv/role/selectRoles",data);
}